package com.wgw.first.home.bean;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;
import java.util.List;

/**
 * @author Admin
 * @version $Rev$
 * @des ${TODO}
 * @updateAuthor $Author$
 * @updateDes ${TODO}
 */
public class GoodssBean  extends JSONObject {

    private List<Goods> goods;

    public List<Goods> getGoods() {
        return goods;
    }
    public void setGoods(List<Goods> goods) {
        this.goods = goods;
    }

    @Override
    public String toString() {
        return "GoodsBean [goods=" + goods + "]";
    }




    public static class Goods implements Serializable{

        private String name;
        private String price;
        private String imgUrl;
        private String book_info;
        private String url;
        private String ISBN;
        private int number;
        private boolean isSelected = true;
        private String username;

        public Goods(){

        }

        public Goods(String name, String price, String imgUrl, String book_info, String url, String ISBN,String username) {
            this.name = name;
            this.price = price;
            this.imgUrl = imgUrl;
            this.book_info = book_info;
            this.url = url;
            this.ISBN = ISBN;
            this.username = username;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getISBN() {
            return ISBN;
        }

        public void setISBN(String ISBN) {
            this.ISBN = ISBN;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getBook_info() {
            return book_info;
        }

        public void setBook_info(String book_info) {
            this.book_info = book_info;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        @Override
        public String toString() {
            return "Goods{" +
                    "name='" + name + '\'' +
                    ", price='" + price + '\'' +
                    ", imgUrl='" + imgUrl + '\'' +
                    ", book_info='" + book_info + '\'' +
                    ", url='" + url + '\'' +
                    ", ISBN='" + ISBN + '\'' +
                    ", number=" + number +
                    ", isSelected=" + isSelected +
                    ", username='" + username + '\'' +
                    '}';
        }
    }

}